package org.jprobe.dummy;
/**
 * a dummy class with a single constructor of abtract class as parameter
 * @author Hussain Al-Mutawa
 * @version 1.0
 * @since 1.0
 */
public class DummyAbstractPublicConstructor {
	/**
	 * initializes the object and does nothing with the passed parameter at all
	 * @param abstractDummy1 just a parameter to be used in testing
	 */
	public DummyAbstractPublicConstructor(final AbstractDummy1 abstractDummy1) {
		super();
	}
	/**
	 * divides two integers and return the result
	 * @param num1 first operand
	 * @param num2 second operand
	 * @return the division of two operands
	 */
	public double div(double num1,double num2){
		return num1/num2;
	}

	@SuppressWarnings("unused")
	private int add(int a,int b){
		return a+b;
	}

	protected int sub(int a,int b){
		return a-b;
	}
}
